package com.shotinthedark.weapons
{
	import com.shootingGame.renderableClasses.PickupObject;
	import com.shootingGame.weaponsClasses.Weapon;
	import com.shootingGame.weaponsClasses.WeaponInfo;
	import com.shootingGame.weaponsClasses.launchProfiles.LaunchProfile;
	import com.shootingGame.weaponsClasses.ordinance.RocketOrdinance;

	public class RocketWeapon extends Weapon
	{
		public function RocketWeapon(xPos:Number = 0, yPos:Number = 0)
		{
			
			var primaryFireInfo : WeaponInfo = new WeaponInfo(LaunchProfile.LINEAR_TRAJECTORY, 0.8, 10, 10, 50, 1000, int.MAX_VALUE, 1, 1, 1,
												0, 1, 0, 0, 0);
			primaryFireInfo.ordinanceSample = new RocketOrdinance(this.attachedTo, primaryFireInfo,null,0,0,0,0,0,1,int.MAX_VALUE);
			super(new RocketLauncherWeaponType1(), xPos, yPos, true, primaryFireInfo);
			type = 3;
		}
		
		public static function getPickupObject() : PickupObject{
			return new PickupObject(new RocketLauncherWeaponType1(), "com.shotinthedark.weapons.RocketWeapon");
		}
		
	}
}
